]> dgit.raspbian.org Git - gnome-shell.git/commit
loginDialog: Get username directly from the conflicting session
authorAlessandro Bono <alessandro.bono369@gmail.com>
Mon, 19 Aug 2024 16:02:04 +0000 (18:02 +0200)
committerAlessandro Bono <alessandro.bono369@gmail.com>
Tue, 20 Aug 2024 10:38:41 +0000 (12:38 +0200)
commit647747fbd6afef2f9f939682ab6527f3877ffbfb
tree50a3e413cbab123ea4edecfdb20b129195fae2c9
parenta80ad53500bbd5d07607dbaaacc9a6d4274a2e49
loginDialog: Get username directly from the conflicting session

The conflicting session is owned by the same user per definition.
Use the Name property of the conflicting session to get the
username instead of assuming that `this._user` is defined and
passing the username around.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3448>
data/dbus-interfaces/org.freedesktop.login1.Session.xml
js/gdm/loginDialog.js